package com.traffic.api.bean;

import java.util.Map;

/**
 * Created by churcy on 2017/3/25.
 */
public class FollowServiceWindowTemplateContext {
    private String headColor;
    private String url;
    private Map<String, Object> keyword1;
    private Map<String, Object> keyword2;
    private Map<String, Object> keyword3;
    private Map<String, Object> keyword4;
    private Map<String, Object> keyword5;
    private Map<String, Object> remark;
    private Map<String, Object> first;

    public String getHeadColor() {
        return headColor;
    }

    public void setHeadColor(String headColor) {
        this.headColor = headColor;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, Object> getKeyword1() {
        return keyword1;
    }

    public void setKeyword1(Map<String, Object> keyword1) {
        this.keyword1 = keyword1;
    }

    public Map<String, Object> getKeyword2() {
        return keyword2;
    }

    public void setKeyword2(Map<String, Object> keyword2) {
        this.keyword2 = keyword2;
    }

    public Map<String, Object> getKeyword3() {
        return keyword3;
    }

    public void setKeyword3(Map<String, Object> keyword3) {
        this.keyword3 = keyword3;
    }

    public Map<String, Object> getKeyword4() {
        return keyword4;
    }

    public void setKeyword4(Map<String, Object> keyword4) {
        this.keyword4 = keyword4;
    }

    public Map<String, Object> getKeyword5() {
        return keyword5;
    }

    public void setKeyword5(Map<String, Object> keyword5) {
        this.keyword5 = keyword5;
    }

    public Map<String, Object> getRemark() {
        return remark;
    }

    public void setRemark(Map<String, Object> remark) {
        this.remark = remark;
    }

    public Map<String, Object> getFirst() {
        return first;
    }

    public void setFirst(Map<String, Object> first) {
        this.first = first;
    }
    /*private final String headColor;
    private final String url;
    private final Map<String, Object> keyword1;
    private final Map<String, Object> keyword2;
    private final Map<String, Object> keyword3;
    private final Map<String, Object> keyword4;
    private final Map<String, Object> keyword5;
    private final Map<String, Object> remark;
    private final Map<String, Object> first;

    public static class ContextBuilder {
        private String headColor;
        private String url;
        private Map<String, Object> keyword1;
        private Map<String, Object> keyword2;
        private Map<String, Object> keyword3;
        private Map<String, Object> keyword4;
        private Map<String, Object> keyword5;
        private Map<String, Object> remark;
        private Map<String, Object> first;

        public ContextBuilder setFirst(Map<String, Object> first) {
            this.first = first;
            return this;
        }
        public ContextBuilder setRemark(Map<String, Object> remark) {
            this.remark = remark;
            return this;
        }
        public ContextBuilder setHeadColor(String headColor) {
            this.headColor = headColor;
            return this;
        }
        public ContextBuilder setUrl(String url) {
            this.url = url;
            return this;
        }
        public ContextBuilder setKeyword1(Map<String, Object> keyword1) {
            this.keyword1 = keyword1;
            return this;
        }
        public ContextBuilder setKeyword2(Map<String, Object> keyword2) {
            this.keyword2 = keyword2;
            return this;
        }
        public ContextBuilder setKeyword3(Map<String, Object> keyword3) {
            this.keyword3 = keyword3;
            return this;
        }
        public ContextBuilder setKeyword4(Map<String, Object> keyword4) {
            this.keyword4 = keyword4;
            return this;
        }
        public ContextBuilder setKeyword5(Map<String, Object> keyword5) {
            this.keyword5 = keyword5;
            return this;
        }
        public FollowServiceWindowTemplateContext build() {
            return new FollowServiceWindowTemplateContext(this);
        }
    }

    private FollowServiceWindowTemplateContext(ContextBuilder builder) {
        headColor = builder.headColor;
        url = builder.url;
        first = builder.first;
        remark = builder.remark;
        keyword1 = builder.keyword1;
        keyword2 = builder.keyword2;
        keyword3 = builder.keyword3;
        keyword4 = builder.keyword4;
        keyword5 = builder.keyword5;
    }

    @Override
    public String toString() {
        return "FollowServiceWindowTemplateContext{" +
                "headColor:'" + headColor + '\'' +
                ", url:'" + url + '\'' +
                ", keyword1:" + keyword1 +
                ", keyword2:" + keyword2 +
                ", keyword3:" + keyword3 +
                ", keyword4:" + keyword4 +
                ", keyword5:" + keyword5 +
                ", remark:" + remark +
                ", first=" + first +
                '}';
    }*/
}

